/**
 * Test algorithms for JettHoughts
 * 
 * Created 12/02/2012
 * 
 * @author Vasili Svirski
 * @version 0.01
 */

package com.jetthoughts.tests;

import static org.junit.Assert.*;

import org.junit.Test;

import com.jetthoughts.algorithms.TimeBetween;

public class TimeBetweenTest {

	@Test
	public void trueTest() {
		assertTrue(TimeBetween.isTimeBetween("10:00", "09:00", "11:00"));
	}

	@Test
	public void falseTest() {
		assertFalse(TimeBetween.isTimeBetween("12:00", "09:00", "11:00"));
	}

	@Test
	public void nextDayTest() {
		assertTrue(TimeBetween.isTimeBetween("23:15", "23:11", "08:00"));
	}

}
